public class Exercise66 {
    public static void main(String[] args) {
        int sum1 = getSum(10,20,30);
        int sum2 = getSum(40,50,60);
        int sum3 = getSum(15,25,35);
        int sum4 = getSum(30,35,40);
        int sum = sum1 + sum2 + sum3 + sum4;
        System.out.println(sum);
    }
    public static int getSum(int num1, int num2, int num3){
        int result = num1 + num2 + num3;
        return result;
    }
}
